<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>简历</title>
    <link href="{$Think.config.url_public}/css/general.css" rel="stylesheet" media="all" />
    <link href="{$Think.config.url_public}/css2/button.css" rel="stylesheet" media="all" />
</head>
<body>
<?php
//$dsn='mysql:dbname=end;host=localhost';
//$user='root';
//$password='123456';
//try{
//    $db=new PDO($dsn,$user,$password);
//    $db->exec("SET NAMES UTF8");
//    $sql="SELECT * FROM table_resume WHERE id=".$_GET['id'];
//    $result=$db->query($sql);
//    $result=$result->select();
//    if($result==false)
//    {
//        throw new PDOException("查询失败",501);
//    }
//}catch(PDOException $e){
//    if($e->getCode()>500)
//        echo "SQL failed".$e->getMessage();
//    else
//        echo "Connect failed".$e->getMessage();
//}
?>
<div id="header">
    <h1>简历</h1>
</div>
<div id="general">
    <div class="row">
        <label id="realname">真实姓名:</label>
        <label id="realnameValue">{$xingming}</label>
    </div>
    <div class="row">
        <label id="zhengzhimianmao">政治面貌:</label>
        <label id="mianmaoValue">{$political}</label>
    </div>
    <div class="row">
        <label id="birthday">出生日期:</label>
        <label id="birthdayValue">{$birthday}</label>
    </div>
    <div class="row">
        <label id="phone">电话:</label>
        <label id="phoneValue">{$phone}</label>
    </div>
    <div class="row">
        <label id="youxiang">邮箱:</label>
        <label id="youxiangValue">{$email}</label>
    </div>
    <div class="row">
        <label id="yixiang">求职意向:</label>
        <label id="yixiangValue">{$intention}</label>
    </div>
    <div class="row">
        <label id="biye">毕业学校:</label>
        {$school}
        <label id="biyeValue"></label>
    </div>
    <div class="row">
        <label id="xueli">学历:</label>
        <label id="xueliValue">{$education}</label>
    </div>
</div>

<div id="skillareas">
    <h2>个人评价</h2>
    <label id="gerenpingjia">{$gerenpingjia}</label>

</div>
<div class="demo-foot fix" style="margin-top: 200px">
<!--    <a href="../Qiantai/resume_add" class="button button-black"><input type="submit" value="增加"></a>-->
    <a href="../Qiantai/resume_change" class="button button-orange"><input type="submit" value="更新"></a>
    <a href="../Qiantai/index" class="button button-silver"><input type="submit" value="退出"></a>
    <br><br>
</div>
</body>
</html>